Skip to content

Improve UX of role addition.#889

Merged
hisanhunais merged 1 commit intowso2:mainfrom
shilmyhasan:main-masterfixes
Feb 27, 2025
Merged

Improve UX of role addition.#889
hisanhunais merged 1 commit intowso2:mainfrom
shilmyhasan:main-masterfixes

Conversation

@shilmyhasan
Copy link
Copy Markdown
Contributor

Improve the UX of role addition from secondary user store while creating/editing scopes. The fix programmatically converts the domain name in the role to upper case in order to be consistent with other instances in API Manger/

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Feb 7, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
100.0% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

roleValidity: true,
validRoles: [...validRoles, validatedRole],
});
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we implement this code segment in a single place and reuse that in these 4 places? Possibly in Shared Component since these are different components?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets fix this in another PR as this is an improvement @shilmyhasan Please note

@hisanhunais hisanhunais merged commit e08e3d3 into wso2:main Feb 27, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants